﻿<UserControl x:Class="MemoryGames.Games.WrongWord.Answer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="75" Width="200" Background="{x:Null}" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" MouseLeftButtonDown="UserControl_MouseLeftButtonDown">
	<UserControl.Resources>
		<Storyboard x:Key="Good">
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFFFFFFF"/>
				<SplineColorKeyFrame KeyTime="00:00:00.3000000" Value="#FF35FF00"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="Wrong">
			<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)">
				<SplineColorKeyFrame KeyTime="00:00:00" Value="#FFFFFFFF"/>
				<SplineColorKeyFrame KeyTime="00:00:00.2000000" Value="#FFD00202"/>
			</ColorAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
    <Grid>
    	<Path Stretch="Fill" StrokeThickness="3" StrokeLineJoin="Round" Stroke="#FF000000" Fill="#FFFFFFFF" Data="F1 M 20.0625,3.87501L 159.937,3.87501C 168.774,3.87501 175.938,11.0385 175.938,19.875L 175.938,59.875C 175.938,68.7116 168.774,75.875 159.937,75.875L 20.0625,75.875C 11.2259,75.875 4.0625,68.7116 4.0625,59.875L 4.0625,19.875C 4.0625,11.0385 11.2259,3.87501 20.0625,3.87501 Z " x:Name="path" Height="Auto" Canvas.Top="1" Width="Auto" Margin="2,2,2,2" />
        <Label x:Name="AnswerLabel" HorizontalAlignment="Center" VerticalAlignment="Center" Width="Auto" Content="test" FontSize="20" Canvas.Left="8" Canvas.Top="18.338"/> 
    </Grid>
</UserControl>
